<div style="width:100%;  background: #DDDDDD; padding: 0px;">
<p style="text-align: right; font-size: 10px; margin: 0px;">
<?php
    if(isset($_SESSION['Username'])) {
	$username = $_SESSION['Username'];    
	echo 'Welcome ' . $username;
        echo '&nbsp;<a href="logout.php">Logout</a>';
    } 
    else {
	echo '<a href="login.php">Login</a>';
    }

?>
&nbsp; &nbsp;</p>
</div>
